package com.fr.base.core.antlr;

public class Token
  implements Cloneable
{
  public static final int MIN_USER_TYPE = 4;
  public static final int NULL_TREE_LOOKAHEAD = 3;
  public static final int INVALID_TYPE = 0;
  public static final int EOF_TYPE = 1;
  public static final int SKIP = -1;
  protected int type = 0;
  public static Token badToken = new Token(0, "<no text>");

  public Token()
  {
  }

  public Token(int paramInt)
  {
    this.type = paramInt;
  }

  public Token(int paramInt, String paramString)
  {
    this.type = paramInt;
    setText(paramString);
  }

  public int getColumn()
  {
    return 0;
  }

  public int getLine()
  {
    return 0;
  }

  public String getFilename()
  {
    return null;
  }

  public void setFilename(String paramString)
  {
  }

  public String getText()
  {
    return "<no text>";
  }

  public void setText(String paramString)
  {
  }

  public void setColumn(int paramInt)
  {
  }

  public void setLine(int paramInt)
  {
  }

  public int getType()
  {
    return this.type;
  }

  public void setType(int paramInt)
  {
    this.type = paramInt;
  }

  public String toString()
  {
    return "[\"" + getText() + "\",<" + getType() + ">]";
  }
}